docs: add rnd_symbol_zipf/weighted functions, restructure sequence generators#341
Merged
bluestreak01 merged 2 commits intomainfrom Jan 24, 2026
Merged
docs: add rnd_symbol_zipf/weighted functions, restructure sequence generators#341bluestreak01 merged 2 commits intomainfrom
bluestreak01 merged 2 commits intomainfrom
Conversation
…nerators New functions documented: - rnd_symbol_zipf(): Zipf/Power Law distribution for symbols - rnd_symbol_weighted(): explicit weight-based symbol distribution Random value generator improvements: - Add Quick Start example with timestamp_sequence - Add prominent warning about re-evaluation behavior - Fix typos, standardize formatting, improve examples Sequence generator restructure: - Merge timestamp-generator.md into row-generator.md - Add "Choosing the right function" comparison table - Document period string format (n, U, s, m, h, d) - Add inline comments explaining microsecond values Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
🚀 Build success! Latest successful preview: https://preview-341--questdb-documentation.netlify.app/docs/ Commit SHA: 3b787c8
|
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
rnd_symbol_zipf()function for generating skewed symbol distributions questdb#6217 and feat(sql): rnd_symbol_zipfn() function - generates high cardinality symbols with Zipf/Power Law Distribution questdb#6227Changes
New Functions Documented
rnd_symbol_zipf()- generates symbols with Zipf/Power Law distributionrnd_symbol_zipf('AAPL', 'MSFT', 'GOOGL', alpha)rnd_symbol_zipf(1000, alpha)for high-cardinality testingrnd_symbol_weighted()- generates symbols with explicit weightsrnd_symbol_weighted('AAPL', 50, 'MSFT', 30, 'GOOGL', 20)Random Value Generator Improvements
Sequence Generator Restructure
timestamp-generator.mdintorow-generator.md(now titled "Sequence generators")'1d','1h','30s','500n', etc.)generate_seriesdocumentation (all variants in one place)Test plan
/docs/query/functions/row-generator//docs/query/functions/random-value-generator/🤖 Generated with Claude Code